/*
 * FilePath     : \src\mock\apis\main.ts
 * Author       : SJZ
 * Date         : 2025-04-01 22:38
 * LastEditors  : SJZ
 * LastEditTime : 2025-04-01 23:40
 * Description  : 主框架相关Api接口
 * CodeIterationRecord:
 */

export default [
  {
    url: "/api/main/GetMenuList",
    type: "get",
    response: () => {
      return {
        code: 1,
        data: [
          {
            menuID: 1,
            parentID: null,
            menuName: "Home",
            router: "/home",
            iconName: "",
            sort: 10
          },
          {
            menuID: 2,
            parentID: null,
            menuName: "Cars",
            router: "/products",
            iconName: "",
            sort: 20
          },
          {
            menuID: 3,
            parentID: null,
            menuName: "About Us",
            router: "/about",
            iconName: "",
            sort: 30
          },
          {
            menuID: 4,
            parentID: null,
            menuName: "Contact Us",
            router: "/contact",
            iconName: "",
            sort: 40
          },
          {
            menuID: 5,
            parentID: null,
            menuName: "News",
            router: "/news",
            iconName: "",
            sort: 50
          },
          {
            menuID: 6,
            parentID: null,
            menuName: "FAQ & HELP",
            router: "/help",
            iconName: "",
            sort: 60
          }
        ],
        message: ""
      };
    }
  },
  {
    url: "/api/main/GetFooterData",
    type: "get",
    response: () => {
      return {
        code: 1,
        data: {
          logo: "/public/static/images/logo.png",
          description:
            "DDong Automobile <br/> China’s leading automobile exporter <br/> Qualified for export by China’s Ministry of Commerce",
          models: [
            { name: "All Cars", router: "/" },
            { name: "Car Brands", router: "/" },
            { name: "Electric Car", router: "/" },
            { name: "Hybrid Car", router: "/" },
            { name: "Gasoline Car", router: "/" }
          ],
          abouts: [
            { name: "About DDong Auto", router: "/" },
            { name: "Contacy DDong", router: "/" },
            { name: "Privacy Policy", router: "/" },
            { name: "terms & Conditions", router: "/" }
          ],
          contacts: [
            { type: "WhatsApp / WeChat", value: "+8612345678912", icon: "iconfont icon-contact" },
            { type: "Email", value: "sales@ddongauto.com", icon: "iconfont icon-e-mail" },
            {
              type: "Address",
              value: "17th Floor, Tower D, Kailin IFC International Financial Center, Zhengzhou",
              icon: "iconfont icon-address"
            }
          ]
        },
        message: ""
      };
    }
  }
];
